import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Header from "@/components/Header";
import { Analytics } from '@vercel/analytics/next';

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
  title: "上海核工程研究设计院机器人平台",
  description: "上海核工程研究设计院股份有限公司机器人控制平台",
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={`${inter.className} bg-black text-white w-screen h-screen`}>
        <Header />
        {children}
        <Analytics />
      </body>
    </html>
  );
}
